Skip to content

Manchester | ITP-May-2025 | Chukwuemeke Ajuebor | Module-Structuring-and-Testing-Data | Sprint-1 #603

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

AjueborChukwuemeke
Copy link

No description provided.

@AjueborChukwuemeke AjueborChukwuemeke added the Needs Review Participant to add when requesting review label Jun 25, 2025
@AjueborChukwuemeke AjueborChukwuemeke changed the title Manchester | May-2025 | Chukwuemeke Ajuebor | Sprint-1 Manchester | ITP-May-2025 | Chukwuemeke Ajuebor | Module-Structuring-and-Testing-Data | Sprint-1 Jun 25, 2025
@LonMcGregor LonMcGregor added Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. and removed Needs Review Participant to add when requesting review labels Jul 4, 2025
Copy link

@LonMcGregor LonMcGregor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work on this sprint. I've left some comments in some files for you to answer before completing this sprint.

@@ -12,11 +12,14 @@ console.log(`The percentage change is ${percentageChange}`);
// Read the code and then answer the questions below

// a) How many function calls are there in this file? Write down all the lines where a function call is made

// There are three; Ln4, Ln5, Ln10.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are 3 lines with function calls on them. How many function calls are there in total?


// b) How many function calls are there?
// There is no function call.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are you using to view the result variable? Are you sure there are 0 function calls?


// e) What do you think the variable result represents? Can you think of a better name for this variable?
//It represents the movie duration in the format; HH:MM:SS. A good name would be "movieduration"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think that "movieduration" offers a clear enough difference to the earlier "movieLength" variable?


// f) Try experimenting with different values of movieLength. Will this code work for all values of movieLength? Explain your answer
// Yes it will as long as the minimum movielength is 1 sec. The divided operand will always be returned if the dividing operand can go into it.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you think of any cases where the output might not look correct?

@LonMcGregor LonMcGregor added 👀 Review Requirements Changes requested to meet requirements and removed Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Jul 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👀 Review Requirements Changes requested to meet requirements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants